@echo off

set file=joint

:	Delete old files

	if exist *.bak del *.bak

:	Run SumEq

if exist %file%.map goto map

sumeq.exe -sti sumeq-m.sti
tabmate %file%.map
goto end

:map
sumeq.exe -sti sumeq-s.sti
tabmate %file%.seq

:end